<!--废气检测--->
<template>
    <div class="emiss">
        <div class="fl">
            <img src="@img/round.png" alt="" />
            <div>
                <div class="lineFlex">
                    <div class="title">
                        <span>有组织排放量</span>
                        <p>0.1mg/m³</p>
                    </div>
                    <div class="line">
                        <div class="activeLine"></div>
                    </div>
                </div>

                <div class="lineFlex">
                    <div class="title">
                        <span>有组织排放量</span>
                        <p>0.1mg/m³</p>
                    </div>
                    <div class="line">
                        <div class="activeLine" style="background: #39fcc8"></div>
                    </div>
                </div>
            </div>
        </div>
        <div class="fr">
            <div>
                <div>比昨日</div>
                <p class="yeader">
                    <img src="@img/up.png" alt="" />
                    5%
                </p>
            </div>
            <div>
                <div>比昨日</div>
                <p class="yeader" style="color: #30ce9d">
                    <img src="@img/downs.png" alt="" />
                    5%
                </p>
            </div>
        </div>
    </div>
</template>

<script setup lang="ts"></script>

<style scoped lang="scss">
$flex_h: 62%;
.emiss {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: calc(84% - 10px);
    margin-top: 10px;
    .fl {
        display: flex;
        align-items: center;
        height: $flex_h;
        flex: 1;
        margin-right: 10%;
        > img {
            width: 40%;
            height: auto;
            margin-right: 4px;
        }
        > div {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            height: 100%;
            .lineFlex {
                .line {
                    position: relative;
                    width: 100%;
                    height: 5px;
                    background: #213b60;
                }
                .activeLine {
                    width: 50%;
                    height: 100%;
                    position: absolute;
                    left: 0;
                    top: 0;
                    background: #2fa7fd;
                }
                .title {
                    display: flex;
                    justify-content: space-between;
                    margin-bottom: 10px;
                    p {
                        font-size: 12px;
                        color: #24badf;
                        font-weight: bold;
                    }
                    span {
                        color: #ffffff;
                        font-size: 12px;
                    }
                }
            }
        }
    }
    .fr {
        height: $flex_h;
        width: 13%;
        font-size: 12px;
        color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        .yeader {
            display: flex;
            align-items: center;
            color: #ff3238;
            margin-top: 4px;
            img {
                width: 6px;
                height: 12px;
                margin-right: 5px;
            }
        }
    }
}
</style>
